<%@ page import="com.fesnakj.todos.dao.UserDao" %>
<%@ page import="com.fesnakj.todos.model.User" %>
<%@ page import="java.util.List" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title></title>
</head>
<body>
<table>
    <c:forEach items="${allUsers}" var="user">
        <tr>
            <td><c:out value="${user.firstName}"/></td>
            <td><c:out value="${user.lastName}"/></td>
            <td><c:out value="${user.email}"/></td>
            <td><a href="/users/remove?id=${user.id}">Remove</a></td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
